<template>
    <el-container style="height: 100%">
        <el-aside style="width: 230px;" class="bd-box">
            <el-menu :router="true" :default-active="defaultActive">
                <el-menu-item index="home">首页</el-menu-item>
                <el-menu-item index="object">对象管理</el-menu-item>
                <el-menu-item>模板管理</el-menu-item>
            </el-menu>
        </el-aside>
        <el-main class="bd-box">
            <router-view></router-view>
        </el-main>
    </el-container>
</template>

<script>
    export default {
        name: "index",
        data() {
            return {
                defaultActive: 'home'
            }
        }
    }
</script>

<style scoped>

</style>